package com.atguigu.educenter.client;

import com.atguigu.commonutils.R;
import com.atguigu.educenter.entity.vo.timestampVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

@Component
@FeignClient(name = "service-edu")
public interface EduTimeStampClient {


    @PostMapping("/eduservice/timestamp/saveTs")
    public R saveTs(@RequestBody timestampVo ts);

    @PostMapping("/eduservice/timestamp/getinfo")
    public R getinfo(@RequestParam(name = "title") String title,@RequestParam(name = "uid") String uid);




}
